﻿using System;
using System.Collections.Generic;

namespace Sharp.DataTransferObject.Workflow
{
    /// <summary>
    /// 流程实例类
    /// </summary>
    [Serializable]
    public class ProcessInstanceDTO 
    {
        
        
        
        public int Id { get; set; }

        
        
        
        public string ProcessGUID { get; set; }

        
        
        
        public string ProcessName { get; set; }

        
        
        
        public string Version { get; set; }

        
        
        
        public string AppName { get; set; }

        
        
        
        public string AppInstanceID { get; set; }

        
        
        public string AppInstanceCode { get; set; }

        
        public short ProcessState { get; set; }

        public string ProcessStateText { get; set; }

        public int? ParentProcessInstanceID { get; set; }

        
        
        public string ParentProcessGUID { get; set; }

        
        public int InvokedActivityInstanceID { get; set; }

        
        
        public string InvokedActivityGUID { get; set; }

        
        
        public DateTime? CreatedTime { get; set; }

        
        
        
        public int? CreatedUserId { get; set; }

        
        
        
        public string CreatedUserName { get; set; }

        
        public Nullable<DateTime> OverdueDateTime { get; set; }

        
        public Nullable<DateTime> OverdueTreatedDateTime { get; set; }

        
        public Nullable<DateTime> ModifiTime { get; set; }

        
        
        public string ModifiedUserId { get; set; }

        
        public string LastUpdatedByUserName { get; set; }

        
        public Nullable<DateTime> EndedDateTime { get; set; }

        
        
        public string EndedByUserID { get; set; }

        
        
        public string EndedByUserName { get; set; }

        
        
        public byte RecordStatusInvalid { get; set; }

        
        
        

        //
        public ActivityInstanceDTO ActivityInstance { get; set; }

 
    }
}
